﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Work.BL.POCOs;

namespace Work.BL.Managers
{
    public interface IUserManager
    {
        List<UserPOCO> GetUsers();
        UserPOCO GetUserById(int userId);
        UserPOCO Insert(UserPOCO userPoco);
        List<UserPOCO> GetUsers(int startIndex, int maxCount);
        int GetUserCount();
        UserPOCO Edit(UserPOCO userPoco);
        bool IsValid(string userName, string password);
        string[] GetUserRoles(string userName);
        void Delete(UserPOCO userPoco);
        bool UniqueEmail(string email);
        bool UniqueUser(string name);
    }
}
